package com.openflag.bwicservice.service;

import com.openflag.bwicservice.domain.BidRequest;
import com.openflag.bwicservice.domain.CancelRequest;
import com.openflag.bwicservice.domain.Client;
import com.openflag.bwicservice.domain.vo.BwicVO;
import com.openflag.bwicservice.exception.BwicOverdueException;
import com.openflag.bwicservice.exception.UserDidNotBidException;

import java.util.List;

public interface BwicService {
    List<BwicVO> list(Long clientId);
    List<BwicVO> mylist(Long clientId);
    List<BwicVO> bid(BidRequest bidRequest);
    List<BwicVO> cancel(CancelRequest cancelRequest) throws BwicOverdueException, UserDidNotBidException;

    List<Client> top3list(Long bwicId);

}
